/*
Ryan Perry
April 25, 2008
*/

#ifndef GAME_H
#define GAME_H

#include <iostream>
#include <sstream>
#include <string>
#include <SDL.h>
#include <SDL_image.h>
#include <SDL_ttf.h>
#include "Graphics.h"

/* See definition for further comments. */
class Game
{
    private:
        int fps, WINDOW_WIDTH, WINDOW_HEIGHT;
        long frames, seconds, sdlTicks;
        std::ostringstream fpsDisplay;

        Uint32 SDL_VIDEOMODE_FLAGS, SDL_INIT_FLAGS;
        SDL_Surface* mainWindow;
        DrawableObj background;
        DrawableObj silverSamurai;
        SDL_Surface* message;
        TTF_Font* font;
        SDL_Color textColor;

    public:
        Game();
        bool runGame();
        bool receivedQuit();
        ~Game();
};

#endif
